package cn.youqu.happy.module.youqu.controller.admin.userTell.vo;

import cn.youqu.happy.framework.excel.core.annotations.DictFormat;
import cn.youqu.happy.framework.excel.core.convert.DictConvert;
import cn.youqu.happy.module.youqu.enums.userTell.UserTellStatusEnum;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.Date;


/**
 * 用户说说 Excel VO
 *
 * @author 王其岩 20112001045
 */
@Data
public class UserTellExcelVO {

    @ExcelProperty("主键")
    private Integer id;

    /**
     * {@link UserTellStatusEnum}
     */
    @ExcelProperty(value = "友说状态 隐私 公开", converter = DictConvert.class)
    @DictFormat("system_user_sex") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer tellStatus;

    @ExcelProperty("用户id")
    private Long uid;

    @ExcelProperty("活动名")
    private String activityName;

    @ExcelProperty("活动id")
    private Integer activityId;

    @ExcelProperty("昵称")
    private String nickName;

    @ExcelProperty("头像")
    private String avatar;

    @ExcelProperty("标题")
    private String title;

    @ExcelProperty("详细内容")
    private String detail;

    @ExcelProperty("图片数组")
    private String img;

    @ExcelProperty("伙伴id , 分割")
    private String partners;

    @ExcelProperty("创建时间")
    private Date createTime;

    @ExcelProperty("备注")
    private String remark;

}
